<?php

namespace app\api\controller;

use come\Controller;

class DefaultController extends Controller
{
    protected function json($data, $message='', $code = 0){
        echo json_encode($data,JSON_UNESCAPED_UNICODE);
    }
}